package com.ruoyi.project.system.order.refuse.domain;

import java.math.BigDecimal;
import java.util.Date;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.framework.aspectj.lang.annotation.Excel;
import com.ruoyi.framework.web.domain.BaseEntity;

/**
 * 退款单对象 order_refuse
 * 
 * @author LCL
 * @date 2020-06-29
 */
public class OrderRefuse extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 主键ID */
    private String id;

    /** 订单iD */
    @Excel(name = "订单iD")
    private String orderId;

    /** 退款原因 */
    @Excel(name = "退款原因")
    private String result;

    /** 状态: 0 审核中 1 退款中 2 已完成 3 取消退款 4 拒绝退款 */
    @Excel(name = "状态: 0 审核中 1 退款中 2 已完成 3 取消退款 4 拒绝退款")
    private Integer status;

    /** 拒绝原因 */
    @Excel(name = "拒绝原因")
    private String refuse;

    /** 退款单号 */
    @Excel(name = "退款单号")
    private String refundNo;

    /** 退款金额 */
    @Excel(name = "退款金额")
    private BigDecimal price;

    /** 退款时间 */
    @Excel(name = "退款时间", width = 30, dateFormat = "yyyy-MM-dd")
    private Date created;

    public void setId(String id) 
    {
        this.id = id;
    }

    public String getId() 
    {
        return id;
    }
    public void setOrderId(String orderId) 
    {
        this.orderId = orderId;
    }

    public String getOrderId() 
    {
        return orderId;
    }
    public void setResult(String result) 
    {
        this.result = result;
    }

    public String getResult() 
    {
        return result;
    }
    public void setStatus(Integer status) 
    {
        this.status = status;
    }

    public Integer getStatus() 
    {
        return status;
    }
    public void setRefuse(String refuse) 
    {
        this.refuse = refuse;
    }

    public String getRefuse() 
    {
        return refuse;
    }
    public void setRefundNo(String refundNo) 
    {
        this.refundNo = refundNo;
    }

    public String getRefundNo() 
    {
        return refundNo;
    }
    public void setPrice(BigDecimal price)
    {
        this.price = price;
    }

    public BigDecimal getPrice()
    {
        return price;
    }
    public void setCreated(Date created) 
    {
        this.created = created;
    }

    public Date getCreated() 
    {
        return created;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("orderId", getOrderId())
            .append("result", getResult())
            .append("status", getStatus())
            .append("refuse", getRefuse())
            .append("refundNo", getRefundNo())
            .append("price", getPrice())
            .append("created", getCreated())
            .toString();
    }
}
